package kuaizu.common.param;

import jakarta.validation.constraints.NotNull;
import kuaizu.common.em.ProjectDelectStatus;
import lombok.Data;

import org.hibernate.validator.constraints.Range;


@Data
public class PromotionInfoParam {

    //推广状态
    private ProjectDelectStatus projectDelectStatus;
    //学校id
    private Integer schoolId;
    //审核状态 true审核项目 false未审核的项目
    private Boolean auditStatus;
    //当前页码
    @NotNull(message = "页码不能为空")
    @Range(min = 1, max = 10000, message = "页码错误")
    private Integer pageNum;//当前页码
    //每页条数
    @NotNull(message = "不能为空")
    @Range(min = 1, max = 1000, message = "每页条数错误")
    private Integer pageSize;//每页条数
}

